﻿<Window x:Class="Abhiruchi_Phase1.HRM_EmpSearch"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="HRM_EmpSearch" Height="620" Width="858" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid DataContext="{Binding}" Height="624" Width="847">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="466*" />
            <ColumnDefinition Width="68*" />
            <ColumnDefinition Width="62*" />
            <ColumnDefinition Width="251*" />
        </Grid.ColumnDefinitions>
       
            
        <Label Content="Search/Edit Employee" Height="28" HorizontalAlignment="Left" Margin="22,46,0,0" Name="lblHeader" VerticalAlignment="Top" FontStyle="Normal" FontWeight="Bold" />
        <Label Content="Employee Type :" Height="28" HorizontalAlignment="Left" Margin="10,74,0,0" Name="lblEtype" VerticalAlignment="Top" />
        <Label Content="Employee No:" Height="28" HorizontalAlignment="Left" Margin="9,160,0,0" VerticalAlignment="Top" Name="lblEmpNo" />
        <Label Content="Employee Name:" Height="28" HorizontalAlignment="Left" Margin="9,128,0,0" Name="lblEmpName" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="114,128,0,0" Name="txtEName" VerticalAlignment="Top" Width="235" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="114,165,0,0" Name="txtENo" VerticalAlignment="Top" Width="235" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="114,79,0,0" Name="cmbEType" VerticalAlignment="Top" Width="235" SelectedIndex="0">
            <ComboBoxItem Content="All Employees" />
            <ComboBoxItem Content="Permanent Employee" />
            <ComboBoxItem Content="Contract Employee" />
        </ComboBox>
        <Button Content="Search"  Height="33" HorizontalAlignment="Left" Margin="113,210,0,0" Name="btnSearch" VerticalAlignment="Top" Width="107" Click="btnSearch_Click" />
        <Button Content="Clear Search" Height="33" HorizontalAlignment="Left" Margin="242,210,0,0" Name="btnClrSearch" VerticalAlignment="Top" Width="107" Click="btnClrSearch_Click" />
        <Label Content="Available Employee" Height="28" HorizontalAlignment="Left" Margin="14,268,0,0" Name="lbltblHeader" VerticalAlignment="Top" FontWeight="Bold" />
        <Label Content="Address(Present) :" Height="30" Margin="30,313,241,0" Name="lblCAddress" VerticalAlignment="Top" FontWeight="Normal" Grid.ColumnSpan="3" Grid.Column="1" />
        <Label Content="Mobile (Home)  :" Height="28" HorizontalAlignment="Left" Margin="31,385,0,0" Name="lblCMbHm" VerticalAlignment="Top" FontWeight="Normal" Grid.ColumnSpan="2" Grid.Column="1" />
        <Label Content="Mobile (Work)  :" Height="28" HorizontalAlignment="Left" Margin="31,357,0,0" Name="lblCMbW" VerticalAlignment="Top" FontWeight="Normal" Grid.Column="1" Grid.ColumnSpan="2" />
        <Label Content="Landline (Work) :" Height="28" HorizontalAlignment="Left" Margin="30,415,0,0" Name="lblCLndWk" VerticalAlignment="Top" FontWeight="Normal" Grid.ColumnSpan="2" Grid.Column="1" />
        <Button Content="View / Edit Complete Details of Employee" Height="29" HorizontalAlignment="Left" Margin="454,545,0,0" Name="btnEditEmp" VerticalAlignment="Top" Width="348" Click="btnEditEmp_Click" Grid.ColumnSpan="4" FontWeight="Bold" />
        <Label Height="28" HorizontalAlignment="Left" Margin="1,0,0,237" Name="lblCMbWRes" VerticalAlignment="Bottom" Grid.Column="3" />
        <Label HorizontalAlignment="Left" Margin="1,387,0,209" Name="lblCMbHmRes" Grid.Column="3" />
        <Label Height="28" HorizontalAlignment="Left" Margin="1,415,0,0" Name="lblCLndWkRes" VerticalAlignment="Top" Grid.Column="3" />
        <Label Height="28" HorizontalAlignment="Left" Margin="426,-35,0,0" Name="lblDEmailID" VerticalAlignment="Top" Grid.Column="3" />
        <Label Content="Abhiruchi Employee Search" FontStyle="Italic" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="305,-1,0,0" Name="lblShowEmp" VerticalAlignment="Top" FontSize="15" Grid.ColumnSpan="2" />
        <Image Height="94" HorizontalAlignment="Left" Margin="140,44,0,0" Name="ShowImg" Stretch="Fill" VerticalAlignment="Top" Width="103" Grid.Column="3" />
        <Label Height="49" HorizontalAlignment="Left" Margin="1,315,0,0" Name="lblCAddressRes" VerticalAlignment="Top" Grid.Column="3" Width="207" />
        <Label Content="First Name    :" FontWeight="Normal" Height="28" Margin="46,59,248,0" Name="lblPFname" VerticalAlignment="Top" Grid.Column="1" Grid.ColumnSpan="3" />
        <Label Content="Status           :" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="48,116,0,0" Name="lblPStatus" VerticalAlignment="Top" Grid.Column="1" Grid.ColumnSpan="2" />
        <Label Content="Date of Birth :" FontWeight="Normal" HorizontalAlignment="Left" Margin="47,87,0,509" Name="lblPDOB" Grid.Column="1" Grid.ColumnSpan="2" />
        <Label Height="28" HorizontalAlignment="Left" Margin="0,0,0,509" Name="lblPDOBRes" VerticalAlignment="Bottom" Grid.Column="3" />
        <Label Height="28" HorizontalAlignment="Left" Margin="0,116,0,0" Name="lblPStatusRes" VerticalAlignment="Top" Grid.Column="3" />
        <Label Height="28" HorizontalAlignment="Left" Margin="0,59,0,0" Name="lblPFnameRes" VerticalAlignment="Top" Grid.Column="3" />
        <Label Content="Personal Information :" FontStyle="Normal" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="455,29,0,0" Name="lblPersonal" VerticalAlignment="Top" Grid.ColumnSpan="3" />
        <Label Content="Date Of Joining :" FontWeight="Normal" Height="28" Margin="29,195,247,0" Name="lblODOJ" VerticalAlignment="Top" Grid.ColumnSpan="3" Grid.Column="1" />
        <Label Content="ReportingTo     :" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="30,250,0,0" Name="lblORepTo" VerticalAlignment="Top" Grid.Column="1" Grid.ColumnSpan="3" Width="103" />
        <Label Content="Designation      :" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="31,223,0,0" Name="lblODes" VerticalAlignment="Top" Grid.Column="1" Grid.ColumnSpan="2" Width="96" />
        <Label Height="28" HorizontalAlignment="Left" Margin="0,0,0,373" Name="lblODesRes" VerticalAlignment="Bottom" Grid.Column="3" />
        <Label Height="28" HorizontalAlignment="Left" Margin="0,252,0,0" Name="lblORepToRes" VerticalAlignment="Top" Grid.Column="3" />
        <Label Height="28" HorizontalAlignment="Left" Margin="0,195,0,0" Name="lblODOJRes" VerticalAlignment="Top" Grid.Column="3" />
        <Label Content="Organaizational Information :" FontStyle="Normal" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="455,165,0,0" Name="lblOrgInfo" VerticalAlignment="Top" Grid.ColumnSpan="4" />
        <Label Content="Communicational Information :" FontStyle="Normal" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="0,292,0,0" Name="lblCommInfo" VerticalAlignment="Top" Grid.ColumnSpan="3" Grid.Column="1" />
        <Label Content="Landline (Home) :" FontWeight="Normal" HorizontalAlignment="Left" Margin="29,442,0,154" Name="lblCLndHome" Grid.ColumnSpan="3" Grid.Column="1" />
        <Label Height="28" HorizontalAlignment="Left" Margin="1,442,0,0" Name="lblCLndHomeRes" VerticalAlignment="Top" Grid.Column="3" />
        <Label Content="Personal Email    :" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="29,470,0,0" VerticalAlignment="Top" Name="lblCPEm" Grid.Column="1" Grid.ColumnSpan="3" Width="110" />
        <Label Height="28" HorizontalAlignment="Left" Margin="1,470,0,0" Name="lblCPEmRes" VerticalAlignment="Top" Grid.Column="3" />
        <Label Content="Official Email      :" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="30,498,0,0" Name="lblCOfEm" VerticalAlignment="Top" Grid.Column="1" Grid.ColumnSpan="3" Width="104" />
        <Label Height="28" HorizontalAlignment="Left" Margin="1,498,0,0" Name="lblCOfEmRes" VerticalAlignment="Top" Grid.Column="3" />
        <Button Content="View Photo" Height="25" HorizontalAlignment="Left" Margin="154,0,0,455" Name="btnDispPhoto" VerticalAlignment="Bottom" Width="78" Grid.Column="3" FontWeight="Bold" Click="btnDispPhoto_Click" />
        <telerik:RadGridView HorizontalAlignment="Left" Margin="6,290,0,0" Name="grdEmp" VerticalAlignment="Top" DataContext="{Binding}" RowActivated="radGridView1_RowActivated" IsReadOnly="True" Height="301" Width="428"></telerik:RadGridView>
    </Grid>
</Window>
